Converts a diagonal matrix to a CSR matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | a |
The diagonal matrix to convert. |
|
class(errors), | intent(inout), | optional, | target | :: | err |
The error object to be updated. |
The CSR matrix.